Optimal. Leaf size=313 \[ \frac {16 a^3 (8368 A+10439 C) \sin (c+d x)}{45045 d \sqrt {\cos (c+d x)} \sqrt {a+a \sec (c+d x)}}+\frac {8 a^3 (8368 A+10439 C) \sqrt {\cos (c+d x)} \sin (c+d x)}{45045 d \sqrt {a+a \sec (c+d x)}}+\frac {2 a^3 (8368 A+10439 C) \cos ^{\frac {3}{2}}(c+d x) \sin (c+d x)}{15015 d \sqrt {a+a \sec (c+d x)}}+\frac {2 a^3 (2224 A+2717 C) \cos ^{\frac {5}{2}}(c+d x) \sin (c+d x)}{9009 d \sqrt {a+a \sec (c+d x)}}+\frac {2 a^2 (136 A+143 C) \cos ^{\frac {7}{2}}(c+d x) \sqrt {a+a \sec (c+d x)} \sin (c+d x)}{1287 d}+\frac {10 a A \cos ^{\frac {9}{2}}(c+d x) (a+a \sec (c+d x))^{3/2} \sin (c+d x)}{143 d}+\frac {2 A \cos ^{\frac {11}{2}}(c+d x) (a+a \sec (c+d x))^{5/2} \sin (c+d x)}{13 d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.67, antiderivative size = 313, normalized size of antiderivative = 1.00, number of steps
used = 8, number of rules used = 6, integrand size = 37, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.162, Rules used = {4350, 4172,
4102, 4100, 3890, 3889} \begin {gather*} \frac {2 a^3 (2224 A+2717 C) \sin (c+d x) \cos ^{\frac {5}{2}}(c+d x)}{9009 d \sqrt {a \sec (c+d x)+a}}+\frac {2 a^3 (8368 A+10439 C) \sin (c+d x) \cos ^{\frac {3}{2}}(c+d x)}{15015 d \sqrt {a \sec (c+d x)+a}}+\frac {8 a^3 (8368 A+10439 C) \sin (c+d x) \sqrt {\cos (c+d x)}}{45045 d \sqrt {a \sec (c+d x)+a}}+\frac {16 a^3 (8368 A+10439 C) \sin (c+d x)}{45045 d \sqrt {\cos (c+d x)} \sqrt {a \sec (c+d x)+a}}+\frac {2 a^2 (136 A+143 C) \sin (c+d x) \cos ^{\frac {7}{2}}(c+d x) \sqrt {a \sec (c+d x)+a}}{1287 d}+\frac {2 A \sin (c+d x) \cos ^{\frac {11}{2}}(c+d x) (a \sec (c+d x)+a)^{5/2}}{13 d}+\frac {10 a A \sin (c+d x) \cos ^{\frac {9}{2}}(c+d x) (a \sec (c+d x)+a)^{3/2}}{143 d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 3889
Rule 3890
Rule 4100
Rule 4102
Rule 4172
Rule 4350
Rubi steps
\begin {align*} \int \cos ^{\frac {13}{2}}(c+d x) (a+a \sec (c+d x))^{5/2} \left (A+C \sec ^2(c+d x)\right ) \, dx &=\left (\sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {(a+a \sec (c+d x))^{5/2} \left (A+C \sec ^2(c+d x)\right )}{\sec ^{\frac {13}{2}}(c+d x)} \, dx\\ &=\frac {2 A \cos ^{\frac {11}{2}}(c+d x) (a+a \sec (c+d x))^{5/2} \sin (c+d x)}{13 d}+\frac {\left (2 \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {(a+a \sec (c+d x))^{5/2} \left (\frac {5 a A}{2}+\frac {1}{2} a (6 A+13 C) \sec (c+d x)\right )}{\sec ^{\frac {11}{2}}(c+d x)} \, dx}{13 a}\\ &=\frac {10 a A \cos ^{\frac {9}{2}}(c+d x) (a+a \sec (c+d x))^{3/2} \sin (c+d x)}{143 d}+\frac {2 A \cos ^{\frac {11}{2}}(c+d x) (a+a \sec (c+d x))^{5/2} \sin (c+d x)}{13 d}+\frac {\left (4 \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {(a+a \sec (c+d x))^{3/2} \left (\frac {1}{4} a^2 (136 A+143 C)+\frac {1}{4} a^2 (96 A+143 C) \sec (c+d x)\right )}{\sec ^{\frac {9}{2}}(c+d x)} \, dx}{143 a}\\ &=\frac {2 a^2 (136 A+143 C) \cos ^{\frac {7}{2}}(c+d x) \sqrt {a+a \sec (c+d x)} \sin (c+d x)}{1287 d}+\frac {10 a A \cos ^{\frac {9}{2}}(c+d x) (a+a \sec (c+d x))^{3/2} \sin (c+d x)}{143 d}+\frac {2 A \cos ^{\frac {11}{2}}(c+d x) (a+a \sec (c+d x))^{5/2} \sin (c+d x)}{13 d}+\frac {\left (8 \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {\sqrt {a+a \sec (c+d x)} \left (\frac {1}{8} a^3 (2224 A+2717 C)+\frac {15}{8} a^3 (112 A+143 C) \sec (c+d x)\right )}{\sec ^{\frac {7}{2}}(c+d x)} \, dx}{1287 a}\\ &=\frac {2 a^3 (2224 A+2717 C) \cos ^{\frac {5}{2}}(c+d x) \sin (c+d x)}{9009 d \sqrt {a+a \sec (c+d x)}}+\frac {2 a^2 (136 A+143 C) \cos ^{\frac {7}{2}}(c+d x) \sqrt {a+a \sec (c+d x)} \sin (c+d x)}{1287 d}+\frac {10 a A \cos ^{\frac {9}{2}}(c+d x) (a+a \sec (c+d x))^{3/2} \sin (c+d x)}{143 d}+\frac {2 A \cos ^{\frac {11}{2}}(c+d x) (a+a \sec (c+d x))^{5/2} \sin (c+d x)}{13 d}+\frac {\left (a^2 (8368 A+10439 C) \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {\sqrt {a+a \sec (c+d x)}}{\sec ^{\frac {5}{2}}(c+d x)} \, dx}{3003}\\ &=\frac {2 a^3 (8368 A+10439 C) \cos ^{\frac {3}{2}}(c+d x) \sin (c+d x)}{15015 d \sqrt {a+a \sec (c+d x)}}+\frac {2 a^3 (2224 A+2717 C) \cos ^{\frac {5}{2}}(c+d x) \sin (c+d x)}{9009 d \sqrt {a+a \sec (c+d x)}}+\frac {2 a^2 (136 A+143 C) \cos ^{\frac {7}{2}}(c+d x) \sqrt {a+a \sec (c+d x)} \sin (c+d x)}{1287 d}+\frac {10 a A \cos ^{\frac {9}{2}}(c+d x) (a+a \sec (c+d x))^{3/2} \sin (c+d x)}{143 d}+\frac {2 A \cos ^{\frac {11}{2}}(c+d x) (a+a \sec (c+d x))^{5/2} \sin (c+d x)}{13 d}+\frac {\left (4 a^2 (8368 A+10439 C) \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {\sqrt {a+a \sec (c+d x)}}{\sec ^{\frac {3}{2}}(c+d x)} \, dx}{15015}\\ &=\frac {8 a^3 (8368 A+10439 C) \sqrt {\cos (c+d x)} \sin (c+d x)}{45045 d \sqrt {a+a \sec (c+d x)}}+\frac {2 a^3 (8368 A+10439 C) \cos ^{\frac {3}{2}}(c+d x) \sin (c+d x)}{15015 d \sqrt {a+a \sec (c+d x)}}+\frac {2 a^3 (2224 A+2717 C) \cos ^{\frac {5}{2}}(c+d x) \sin (c+d x)}{9009 d \sqrt {a+a \sec (c+d x)}}+\frac {2 a^2 (136 A+143 C) \cos ^{\frac {7}{2}}(c+d x) \sqrt {a+a \sec (c+d x)} \sin (c+d x)}{1287 d}+\frac {10 a A \cos ^{\frac {9}{2}}(c+d x) (a+a \sec (c+d x))^{3/2} \sin (c+d x)}{143 d}+\frac {2 A \cos ^{\frac {11}{2}}(c+d x) (a+a \sec (c+d x))^{5/2} \sin (c+d x)}{13 d}+\frac {\left (8 a^2 (8368 A+10439 C) \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {\sqrt {a+a \sec (c+d x)}}{\sqrt {\sec (c+d x)}} \, dx}{45045}\\ &=\frac {16 a^3 (8368 A+10439 C) \sin (c+d x)}{45045 d \sqrt {\cos (c+d x)} \sqrt {a+a \sec (c+d x)}}+\frac {8 a^3 (8368 A+10439 C) \sqrt {\cos (c+d x)} \sin (c+d x)}{45045 d \sqrt {a+a \sec (c+d x)}}+\frac {2 a^3 (8368 A+10439 C) \cos ^{\frac {3}{2}}(c+d x) \sin (c+d x)}{15015 d \sqrt {a+a \sec (c+d x)}}+\frac {2 a^3 (2224 A+2717 C) \cos ^{\frac {5}{2}}(c+d x) \sin (c+d x)}{9009 d \sqrt {a+a \sec (c+d x)}}+\frac {2 a^2 (136 A+143 C) \cos ^{\frac {7}{2}}(c+d x) \sqrt {a+a \sec (c+d x)} \sin (c+d x)}{1287 d}+\frac {10 a A \cos ^{\frac {9}{2}}(c+d x) (a+a \sec (c+d x))^{3/2} \sin (c+d x)}{143 d}+\frac {2 A \cos ^{\frac {11}{2}}(c+d x) (a+a \sec (c+d x))^{5/2} \sin (c+d x)}{13 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 6.60, size = 206, normalized size = 0.66 \begin {gather*} \frac {\cos ^{\frac {9}{2}}(c+d x) \sec ^5\left (\frac {1}{2} (c+d x)\right ) (a (1+\sec (c+d x)))^{5/2} \left (A+C \sec ^2(c+d x)\right ) \left (\frac {1}{16} (21 A+26 C) \sin \left (\frac {1}{2} (c+d x)\right )+\frac {1}{192} (71 A+80 C) \sin \left (\frac {3}{2} (c+d x)\right )+\frac {3}{320} (17 A+16 C) \sin \left (\frac {5}{2} (c+d x)\right )+\frac {5}{224} (3 A+2 C) \sin \left (\frac {7}{2} (c+d x)\right )+\frac {1}{288} (7 A+2 C) \sin \left (\frac {9}{2} (c+d x)\right )+\frac {5}{704} A \sin \left (\frac {11}{2} (c+d x)\right )+\frac {1}{832} A \sin \left (\frac {13}{2} (c+d x)\right )\right )}{d (A+2 C+A \cos (2 c+2 d x))} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.26, size = 166, normalized size = 0.53
method | result | size |
default | \(-\frac {2 a^{2} \left (-1+\cos \left (d x +c \right )\right ) \left (3465 A \left (\cos ^{6}\left (d x +c \right )\right )+11970 A \left (\cos ^{5}\left (d x +c \right )\right )+18305 A \left (\cos ^{4}\left (d x +c \right )\right )+5005 C \left (\cos ^{4}\left (d x +c \right )\right )+20920 A \left (\cos ^{3}\left (d x +c \right )\right )+18590 C \left (\cos ^{3}\left (d x +c \right )\right )+25104 A \left (\cos ^{2}\left (d x +c \right )\right )+31317 C \left (\cos ^{2}\left (d x +c \right )\right )+33472 A \cos \left (d x +c \right )+41756 C \cos \left (d x +c \right )+66944 A +83512 C \right ) \left (\sqrt {\cos }\left (d x +c \right )\right ) \sqrt {\frac {a \left (1+\cos \left (d x +c \right )\right )}{\cos \left (d x +c \right )}}}{45045 d \sin \left (d x +c \right )}\) | \(166\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 852 vs.
\(2 (271) = 542\).
time = 0.66, size = 852, normalized size = 2.72 \begin {gather*} \text {Too large to display} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.97, size = 168, normalized size = 0.54 \begin {gather*} \frac {2 \, {\left (3465 \, A a^{2} \cos \left (d x + c\right )^{6} + 11970 \, A a^{2} \cos \left (d x + c\right )^{5} + 35 \, {\left (523 \, A + 143 \, C\right )} a^{2} \cos \left (d x + c\right )^{4} + 10 \, {\left (2092 \, A + 1859 \, C\right )} a^{2} \cos \left (d x + c\right )^{3} + 3 \, {\left (8368 \, A + 10439 \, C\right )} a^{2} \cos \left (d x + c\right )^{2} + 4 \, {\left (8368 \, A + 10439 \, C\right )} a^{2} \cos \left (d x + c\right ) + 8 \, {\left (8368 \, A + 10439 \, C\right )} a^{2}\right )} \sqrt {\frac {a \cos \left (d x + c\right ) + a}{\cos \left (d x + c\right )}} \sqrt {\cos \left (d x + c\right )} \sin \left (d x + c\right )}{45045 \, {\left (d \cos \left (d x + c\right ) + d\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int {\cos \left (c+d\,x\right )}^{13/2}\,\left (A+\frac {C}{{\cos \left (c+d\,x\right )}^2}\right )\,{\left (a+\frac {a}{\cos \left (c+d\,x\right )}\right )}^{5/2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________